package org.whuims.repository.solr;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.solr.repository.SolrCrudRepository;
import org.springframework.stereotype.Repository;
import org.whuims.entity.Paragraph;

/**
 * Created by zhongwei on 16/12/21.
 */
@Repository
public interface SolrParagraphDao extends SolrCrudRepository<Paragraph, Long> {

    Page<Paragraph> findBySearchFields(Pageable pageable, String searchFields);
}
